using System;
using System.Collections;
using System.Collections.Generic;

using Framework.Library.Base;

namespace Framework.Library.Domain
{
    public partial class PortalCache : BusinessBase<int>
    {
        #region Declarations

		
		private int _portalID = default(Int32);
		private int _zoneID = default(Int32);
		private string _cacheKey = String.Empty;
		
		
		
        #endregion

        #region Constructors

        public PortalCache() { }

        #endregion

        #region Methods

        public override int GetHashCode()
        {
            System.Text.StringBuilder sb = new System.Text.StringBuilder();
            
            sb.Append(this.GetType().FullName);
			sb.Append(_portalID);
			sb.Append(_zoneID);
			sb.Append(_cacheKey);

            return sb.ToString().GetHashCode();
        }

        #endregion

        #region Properties

		public virtual int PortalID
        {
            get { return _portalID; }
			set
			{
				
				_portalID = value;
				
			}
        }
		
		public virtual int ZoneID
        {
            get { return _zoneID; }
			set
			{
				
				_zoneID = value;
				
			}
        }
		
		public virtual string CacheKey
        {
            get { return _cacheKey; }
			set
			{
				
				_cacheKey = value;
				
			}
        }
		
        #endregion
    }
}
